package com.zhiliao.observer.demo2;

/**
 * @author zouxf Department:3cs
 * @date 2023/6/5 18:16
 * @description
 * @see
 */
public class ClientObserver1 {
    public static void main(String[] args) {
        Subject subject = new ConcreteSubject();
        subject.addObservers(new AObserverImpl());
        subject.addObservers(new BObserverImpl());

        subject.doSomething();
    }
}
